package com.czy;

import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;

import java.time.Instant;
import java.time.LocalDate;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import java.util.HashSet;
import java.util.List;

public class DeepSeek历史记录分组 {
    static JSONArray jsonArr = JSONArray.parse("[\n" +
            "  {\n" +
            "    \"id\": \"92cf541d-126f-4d76-9e35-6fa99dce2ecf\",\n" +
            "    \"seq_id\": 1000482,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Spring Boot启动时执行方法总结\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1745890852.961694,\n" +
            "    \"updated_at\": 1745891277.121282,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"7e436673-146a-42c2-a00b-1c853d2bf6e1\",\n" +
            "    \"seq_id\": 1000479,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java List按时间分组处理\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745889710.962024,\n" +
            "    \"updated_at\": 1745889753.748558,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"68011e42-dac5-4223-a41c-d209b33de3dd\",\n" +
            "    \"seq_id\": 1000477,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"智能写作与分析提示词设计\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745808606.00187,\n" +
            "    \"updated_at\": 1745808695.017733,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"ff75372e-b2c9-44ca-8ac8-21cf5ff1f436\",\n" +
            "    \"seq_id\": 1000475,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"JavaScript时间戳格式转换方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1745743863.408847,\n" +
            "    \"updated_at\": 1745744036.875572,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"f3ee01cf-1722-416f-b826-0814cbc81b25\",\n" +
            "    \"seq_id\": 1000472,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Spring Boot 3.x RestTemplate PATCH支持解决方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1745739366.200981,\n" +
            "    \"updated_at\": 1745743092.040747,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"454b762f-8b5d-4b4f-8e8a-1b7e9cb95e0f\",\n" +
            "    \"seq_id\": 1000468,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Excel导出下拉列表显示问题排查\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1745719634.439625,\n" +
            "    \"updated_at\": 1745724634.414518,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"ae3c718b-0488-47bf-84eb-06dc90f74948\",\n" +
            "    \"seq_id\": 1000465,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java Stream过滤条件选择建议\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745666221.689057,\n" +
            "    \"updated_at\": 1745666294.553983,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"732ff5db-1fd5-455c-be27-ff019b1e8770\",\n" +
            "    \"seq_id\": 1000463,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Spring Boot WebFlux WebClient重定向处理\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745549654.73093,\n" +
            "    \"updated_at\": 1745549708.806983,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"8a288976-0ad7-4f61-af7d-4616dfe7f042\",\n" +
            "    \"seq_id\": 1000461,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"package com.yfzx.web.controller.\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745548563.567273,\n" +
            "    \"updated_at\": 1745548623.887659,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"69403222-8555-423b-9171-f1d6d89eb694\",\n" +
            "    \"seq_id\": 1000459,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"文件上传大小限制问题解决方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 15,\n" +
            "    \"current_message_id\": 14,\n" +
            "    \"inserted_at\": 1745545512.963984,\n" +
            "    \"updated_at\": 1745548044.453835,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"96389216-587e-490c-9de2-5fe8e0191c51\",\n" +
            "    \"seq_id\": 1000453,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"MyBatis多语句执行配置指南\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745484289.729999,\n" +
            "    \"updated_at\": 1745484365.503576,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"98abc8ba-8600-4966-bddf-3ba57ecfe61d\",\n" +
            "    \"seq_id\": 1000451,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"mybatis plus 一次性提交4个更新语句报错了 但是把s\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745484276.409304,\n" +
            "    \"updated_at\": 1745484286.110074,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"ba95f3f3-d4ae-4ac7-b5fc-d25fef55330b\",\n" +
            "    \"seq_id\": 1000449,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"分页数据为0问题分析与修复\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745479504.188932,\n" +
            "    \"updated_at\": 1745479601.347151,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"148d7b86-a53f-4b45-976f-dbca81e0131e\",\n" +
            "    \"seq_id\": 1000447,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"RestTemplate文件上传方法详解\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1745455334.331953,\n" +
            "    \"updated_at\": 1745460271.041558,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"d0bc95d9-1b60-4898-b347-327b194c56cd\",\n" +
            "    \"seq_id\": 1000443,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"五级能耗空调 能耗比2.65什么概念\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745405427.338038,\n" +
            "    \"updated_at\": 1745405497.640094,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"09993351-864f-4c11-a8b4-1f23d830101f\",\n" +
            "    \"seq_id\": 1000441,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Spring后端SSE消息推送问题解决\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1745378667.820259,\n" +
            "    \"updated_at\": 1745379745.25172,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"d50e0433-a642-4d16-83d6-7cd0c1f057ba\",\n" +
            "    \"seq_id\": 1000438,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java SSL证书验证失败解决方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745373526.009859,\n" +
            "    \"updated_at\": 1745373592.758172,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"0946cb9d-5ae8-4849-b783-c831e8e43ae5\",\n" +
            "    \"seq_id\": 1000436,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Unable to write command into con\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1745371327.069197,\n" +
            "    \"updated_at\": 1745371489.788822,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"00fa8532-ccd4-45b6-94e7-c5560319da21\",\n" +
            "    \"seq_id\": 1000432,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"我现在是spring boot的后端需要请求别人的post接口，\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745314372.32029,\n" +
            "    \"updated_at\": 1745314432.676979,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"a68bb08a-fc13-49cd-bdd8-6cf7f6226e4f\",\n" +
            "    \"seq_id\": 1000431,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Spring Boot WebFlux 多次数据返回\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 16,\n" +
            "    \"current_message_id\": 14,\n" +
            "    \"inserted_at\": 1745313881.547675,\n" +
            "    \"updated_at\": 1745314425.464915,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"787fbac4-5624-4cab-bebd-4a713a8c6b35\",\n" +
            "    \"seq_id\": 1000423,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"我需要在spring boot 中和别的系统建立sse连接 不断\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 5,\n" +
            "    \"current_message_id\": 4,\n" +
            "    \"inserted_at\": 1745310485.113326,\n" +
            "    \"updated_at\": 1745310628.097593,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"8361094a-af76-491f-b668-7fd7ab1e67b5\",\n" +
            "    \"seq_id\": 1000420,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Spring Boot SSE请求与接收数据方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1745310263.268225,\n" +
            "    \"updated_at\": 1745310423.570358,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"b2527add-9013-4948-8e41-f218e7f398e0\",\n" +
            "    \"seq_id\": 1000417,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"172.11.1.14地址是否为内网\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745304006.437342,\n" +
            "    \"updated_at\": 1745304037.936685,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"617ca85f-ae55-4c60-a135-879d21886a14\",\n" +
            "    \"seq_id\": 1000415,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"RestTemplate GET请求参数传递方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745287232.270238,\n" +
            "    \"updated_at\": 1745287295.502258,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"736ba31c-0894-4d43-83a8-06b0f9b5df6f\",\n" +
            "    \"seq_id\": 1000413,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"SQL插入语句问题及修正建议\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1745217507.026829,\n" +
            "    \"updated_at\": 1745221684.604571,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"20a3778c-675b-489b-b982-759f270a82bc\",\n" +
            "    \"seq_id\": 1000409,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"台州高园小区所属街道\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1745211780.248582,\n" +
            "    \"updated_at\": 1745211795.296471,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"ea423c63-018a-48bf-909b-3232b60764c4\",\n" +
            "    \"seq_id\": 1000407,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"MyBatis动态SQL List判断方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1745200892.913608,\n" +
            "    \"updated_at\": 1745203016.736286,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"1804df8a-2120-450e-9da5-9514ba854080\",\n" +
            "    \"seq_id\": 1000404,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"有一个post请求 但是返回的结果是先创建连接 然后一个字一个字\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1744942722.367124,\n" +
            "    \"updated_at\": 1744943381.538853,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"1dcec137-10ce-4bb3-aa91-930edf26c358\",\n" +
            "    \"seq_id\": 1000400,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"SQL语法错误及解决方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1744856986.549966,\n" +
            "    \"updated_at\": 1744857052.053115,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"2b7ec700-2c02-427c-8ecf-a69655e4d7a8\",\n" +
            "    \"seq_id\": 1000398,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"MySQL查询版本方法总结\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1744791389.657873,\n" +
            "    \"updated_at\": 1744791487.308548,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"115a2bbd-8b6f-4357-8af4-87fa66813a7a\",\n" +
            "    \"seq_id\": 1000396,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"500错误原因及解决方案分析\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1744773206.928134,\n" +
            "    \"updated_at\": 1744773255.909851,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"c6e32ad6-edc6-4316-a7b1-859c8769b944\",\n" +
            "    \"seq_id\": 1000394,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"水饺煮久皮发白原因及解决方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1744710595.261294,\n" +
            "    \"updated_at\": 1744710654.485238,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"dec548f7-42ea-47fe-98f1-fcdd7f5462e6\",\n" +
            "    \"seq_id\": 1000392,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Fix SQL Syntax Error in Batch Insert\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1744679809.550065,\n" +
            "    \"updated_at\": 1744680111.642317,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"084eee47-a003-4f0a-96e9-6f782d132b86\",\n" +
            "    \"seq_id\": 1000389,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java的clone方法详解与使用\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1744372423.107658,\n" +
            "    \"updated_at\": 1744372551.126777,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"cff41fed-60c0-4c49-bf7b-6f7b40457c62\",\n" +
            "    \"seq_id\": 1000386,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Spring Boot 3延迟通知实现方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1744370924.370972,\n" +
            "    \"updated_at\": 1744371292.73709,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"1bb81b2d-4c59-49d3-983c-edc54665a7d8\",\n" +
            "    \"seq_id\": 1000383,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"@Override\\n    public List<KqTeam\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 12,\n" +
            "    \"current_message_id\": 11,\n" +
            "    \"inserted_at\": 1744341205.33447,\n" +
            "    \"updated_at\": 1744342008.378945,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"f18cbb18-a541-4975-9ce3-c9060d53e153\",\n" +
            "    \"seq_id\": 1000378,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"CORS跨域请求安全解决方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1744273375.571919,\n" +
            "    \"updated_at\": 1744273582.517424,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"cdeb616a-ea5c-448b-9dbf-1891ee366c64\",\n" +
            "    \"seq_id\": 1000375,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"SQL查询添加日期筛选排班人数\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1744184277.644406,\n" +
            "    \"updated_at\": 1744184650.270757,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"57ae8295-49bd-4b13-8308-74e1f50f2210\",\n" +
            "    \"seq_id\": 1000372,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java弹窗提示信息方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1744108840.625266,\n" +
            "    \"updated_at\": 1744108882.138264,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"7e395211-882d-488d-8b14-7c2ea563528c\",\n" +
            "    \"seq_id\": 1000370,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"再java中 ${变量} 我需要这样替换变量 那么我再java中\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1744099990.870936,\n" +
            "    \"updated_at\": 1744100052.850663,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"7525ba80-6af2-4a2e-94dd-861e38e47abb\",\n" +
            "    \"seq_id\": 1000368,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"EasyExcel实现单元格下拉框功能\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 27,\n" +
            "    \"current_message_id\": 26,\n" +
            "    \"inserted_at\": 1744008442.265101,\n" +
            "    \"updated_at\": 1744099914.495484,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"43f23bcc-3235-4dd9-8916-2d3d3a0502a2\",\n" +
            "    \"seq_id\": 1000363,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"mybatis的类型转换器我想要把数据库中的varchar转为l\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1744084989.876493,\n" +
            "    \"updated_at\": 1744085050.345655,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"c3bf80cf-f03a-4f8c-822c-3f2dcc180d44\",\n" +
            "    \"seq_id\": 1000361,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"public class KqScheduleLog exten\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 15,\n" +
            "    \"current_message_id\": 14,\n" +
            "    \"inserted_at\": 1744077072.579305,\n" +
            "    \"updated_at\": 1744084205.037257,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"5024b192-9095-47b0-a2cb-3a6e80160595\",\n" +
            "    \"seq_id\": 1000350,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java排班信息比对与更新处理\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1743996560.684994,\n" +
            "    \"updated_at\": 1743996867.98047,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"4ec53129-a33f-4ea3-b3e0-c16406626558\",\n" +
            "    \"seq_id\": 1000348,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java代码实现Excel动态表头与数据写入\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1743993541.495162,\n" +
            "    \"updated_at\": 1743996476.850359,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"a8140bcf-9d87-4c5b-9394-51250ab878d2\",\n" +
            "    \"seq_id\": 1000345,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"EasyExcel动态日期列数据处理方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 21,\n" +
            "    \"current_message_id\": 20,\n" +
            "    \"inserted_at\": 1743648975.50602,\n" +
            "    \"updated_at\": 1743661488.816431,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"dbc2b10b-6951-4982-abd9-9729def8c23c\",\n" +
            "    \"seq_id\": 1000337,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"javalocaltime 的秒和纳秒怎么设置为0\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1743585735.519428,\n" +
            "    \"updated_at\": 1743585750.343236,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"831e091f-1d10-4d55-9045-cb650382c6a5\",\n" +
            "    \"seq_id\": 1000335,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"MyBatis Plus SQL条件扩展方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 12,\n" +
            "    \"current_message_id\": 11,\n" +
            "    \"inserted_at\": 1743576403.036227,\n" +
            "    \"updated_at\": 1743576998.399475,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"f019677c-5a7f-4ae2-b5d1-77a68b0d3bc0\",\n" +
            "    \"seq_id\": 1000330,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Hutool TreeNodeConfig参数解析与使用\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1743492817.011413,\n" +
            "    \"updated_at\": 1743492890.514119,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"1bac922e-caeb-4567-aea4-aa660b12206b\",\n" +
            "    \"seq_id\": 1000328,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java对象集合转换与班次信息处理\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1743409473.569163,\n" +
            "    \"updated_at\": 1743409636.023307,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"7b3b7f5a-7fac-4f0e-9d7c-faea252096cf\",\n" +
            "    \"seq_id\": 1000326,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"JSON解析失败问题排查与解决\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1743404347.157398,\n" +
            "    \"updated_at\": 1743404447.471383,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"acae0597-d659-4812-80b7-eb8924a48bd0\",\n" +
            "    \"seq_id\": 1000325,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"- 请求地址'/digitalTurnkeyEcosystem/\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1743404361.994401,\n" +
            "    \"updated_at\": 1743404407.064495,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"e58e360b-f907-4baf-8621-5d770cbed553\",\n" +
            "    \"seq_id\": 1000321,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"调用宜搭查询接口教程\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1743401914.428629,\n" +
            "    \"updated_at\": 1743402453.798479,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"9ab3f7c3-292e-4c6e-b6a9-0ff8561e5ed3\",\n" +
            "    \"seq_id\": 1000318,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"MyBatis Plus动态数据源配置指南\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1743131583.774377,\n" +
            "    \"updated_at\": 1743133806.116605,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"a0f5af18-918c-45eb-9bdc-ba83f162af44\",\n" +
            "    \"seq_id\": 1000314,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Excel合并单元格序号分配VBA教程\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1743063237.596968,\n" +
            "    \"updated_at\": 1743063351.328514,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"6c854100-d348-4ae9-8e2b-ff6a52aced40\",\n" +
            "    \"seq_id\": 1000312,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Excel合并单元格数据获取问题解决方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 18,\n" +
            "    \"current_message_id\": 17,\n" +
            "    \"inserted_at\": 1743060635.520008,\n" +
            "    \"updated_at\": 1743063180.382591,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"ee192e72-3d45-4cb1-8aff-5f9ae24e18aa\",\n" +
            "    \"seq_id\": 1000305,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Excel删除单元格换行符方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 21,\n" +
            "    \"current_message_id\": 20,\n" +
            "    \"inserted_at\": 1743055795.558888,\n" +
            "    \"updated_at\": 1743059246.806944,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"3f5ce3ab-51f8-408b-9313-2f4995c4b981\",\n" +
            "    \"seq_id\": 1000297,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"生成DDL语句要求说明\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 66,\n" +
            "    \"current_message_id\": 65,\n" +
            "    \"inserted_at\": 1743040222.762333,\n" +
            "    \"updated_at\": 1743042211.865306,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"f0e0819e-80fa-4de8-9043-58bc8de9ffcc\",\n" +
            "    \"seq_id\": 1000274,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"生成数据库表DDL语句\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 24,\n" +
            "    \"current_message_id\": 23,\n" +
            "    \"inserted_at\": 1743039413.168074,\n" +
            "    \"updated_at\": 1743040067.5354,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"48cc80c7-8413-461a-8041-22b0c9b716ce\",\n" +
            "    \"seq_id\": 1000265,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java方法处理多休息时间段工时计算\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 17,\n" +
            "    \"current_message_id\": 16,\n" +
            "    \"inserted_at\": 1742972912.141753,\n" +
            "    \"updated_at\": 1742978952.514125,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"80e599b1-17ea-48b5-b03a-8a76e26eb955\",\n" +
            "    \"seq_id\": 1000264,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"休息时间校验方法实现\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 8,\n" +
            "    \"current_message_id\": 7,\n" +
            "    \"inserted_at\": 1742976138.295876,\n" +
            "    \"updated_at\": 1742977369.089794,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"0fae9289-d437-4644-b140-ace3b38b7e6f\",\n" +
            "    \"seq_id\": 1000261,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"首先 时间都区分开始时间和结束时间 并且不能像等 结束时间小于开\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 8,\n" +
            "    \"current_message_id\": 7,\n" +
            "    \"inserted_at\": 1742975823.317004,\n" +
            "    \"updated_at\": 1742976172.507993,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"379865b1-7082-4977-a907-c9adecb836b4\",\n" +
            "    \"seq_id\": 1000250,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java switch表达式版本支持情况\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1742893783.627773,\n" +
            "    \"updated_at\": 1742893810.116957,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"f9b7a88d-d4be-4230-b781-4b726625eef8\",\n" +
            "    \"seq_id\": 1000248,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"LambdaQueryWrapper代码优化建议\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1742892672.672919,\n" +
            "    \"updated_at\": 1742892984.224944,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"4dcd665d-b76d-4781-a364-205dc78f1187\",\n" +
            "    \"seq_id\": 1000245,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"班次工时计算方法详解\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1742881372.92654,\n" +
            "    \"updated_at\": 1742882675.508808,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"e570b1e2-19e5-442c-8d8e-17eacc2e0f64\",\n" +
            "    \"seq_id\": 1000242,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java代码计算工作时间缺陷与修正\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1742879989.807988,\n" +
            "    \"updated_at\": 1742880715.297704,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"9c90c7b5-c140-4503-baa8-0d069decb3bb\",\n" +
            "    \"seq_id\": 1000239,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java计算工作时间排除休息时间\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1742879214.048475,\n" +
            "    \"updated_at\": 1742879861.744497,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"6116a632-86e5-4e74-ad6d-42708730f13e\",\n" +
            "    \"seq_id\": 1000235,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"获取LocalDateTime之间的小时数据\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1742878801.50884,\n" +
            "    \"updated_at\": 1742878825.48356,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"dc0c7a98-b896-4adf-85a3-01ef32317662\",\n" +
            "    \"seq_id\": 1000233,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"计算工作时间扣除休息时间交集\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 33,\n" +
            "    \"current_message_id\": 32,\n" +
            "    \"inserted_at\": 1742872199.406346,\n" +
            "    \"updated_at\": 1742878500.648541,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"23c7ffa0-1ed8-49ee-86ef-bacfc44f547c\",\n" +
            "    \"seq_id\": 1000221,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"RuoYi Vue Plus v5.3.0 JSON字段分页查询问题解决\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 21,\n" +
            "    \"current_message_id\": 20,\n" +
            "    \"inserted_at\": 1742865074.262191,\n" +
            "    \"updated_at\": 1742869234.030597,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"8890bcb3-9f65-4f40-ac47-cb8fec78bc24\",\n" +
            "    \"seq_id\": 1000213,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"ZIP文件目录下载异常处理方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1742721218.997911,\n" +
            "    \"updated_at\": 1742721306.62752,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"e07d8fd5-390d-4e33-bf3f-bab649862690\",\n" +
            "    \"seq_id\": 1000211,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"ZIP文件内视频流式预览优化方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1742695653.849018,\n" +
            "    \"updated_at\": 1742695972.690578,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"38cec7ff-25e6-4029-8b04-0f290f4a50cc\",\n" +
            "    \"seq_id\": 1000209,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java实现ZIP文件部分读取功能\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1742655996.37153,\n" +
            "    \"updated_at\": 1742658631.419247,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"4c506c13-2d18-4f91-bf84-d098c4fc61d2\",\n" +
            "    \"seq_id\": 1000205,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Hutool判断节假日和工作日方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1742440481.60271,\n" +
            "    \"updated_at\": 1742453556.264417,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"4dcd314d-f14e-4f68-a84a-84e8bf3a174c\",\n" +
            "    \"seq_id\": 1000201,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java多线程文件遍历实现\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1742433584.385396,\n" +
            "    \"updated_at\": 1742433626.283699,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"bb249593-3ca6-476a-a842-41e57450ecf9\",\n" +
            "    \"seq_id\": 1000199,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Python读取压缩包文件信息方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1742386465.412598,\n" +
            "    \"updated_at\": 1742386539.15157,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"0af63358-4e0a-46a2-b059-5dac804d136e\",\n" +
            "    \"seq_id\": 1000197,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"读取ZIP文件内容的方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 12,\n" +
            "    \"current_message_id\": 11,\n" +
            "    \"inserted_at\": 1742376775.203299,\n" +
            "    \"updated_at\": 1742378072.382717,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"e735178e-22bd-43cc-96de-c7535c69f189\",\n" +
            "    \"seq_id\": 1000192,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java读取压缩包指定文件方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1742375691.207879,\n" +
            "    \"updated_at\": 1742375914.020949,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"1d45cbfc-61ae-484a-a8aa-ab4477228efe\",\n" +
            "    \"seq_id\": 1000189,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java读取压缩包指定文件方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 12,\n" +
            "    \"current_message_id\": 11,\n" +
            "    \"inserted_at\": 1742373695.657085,\n" +
            "    \"updated_at\": 1742374810.165496,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"14750946-de49-4910-bf28-70c6c57e30c7\",\n" +
            "    \"seq_id\": 1000184,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"JS判断手机或电脑的方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1742371556.305159,\n" +
            "    \"updated_at\": 1742371808.187444,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"86b729d1-7d89-46a3-9744-1c994d6a1dc5\",\n" +
            "    \"seq_id\": 1000181,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"JS判断显示器与页面宽度方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 35,\n" +
            "    \"current_message_id\": 34,\n" +
            "    \"inserted_at\": 1742366251.082503,\n" +
            "    \"updated_at\": 1742368959.389345,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"cb015aa6-599e-4f67-a21b-2e08e2493416\",\n" +
            "    \"seq_id\": 1000168,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Element Plus Upload组件上传成功事件参数解析\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1742365359.025722,\n" +
            "    \"updated_at\": 1742366139.558181,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"75f9cf1c-1c2e-4b65-be38-c365485fd18d\",\n" +
            "    \"seq_id\": 1000164,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"考勤组排班与考勤表设计指南\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 18,\n" +
            "    \"current_message_id\": 17,\n" +
            "    \"inserted_at\": 1742345413.271173,\n" +
            "    \"updated_at\": 1742349979.037605,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"ea53e740-a41a-41ed-845b-98ca043fd1ed\",\n" +
            "    \"seq_id\": 1000157,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"班次管理数据库表设计建议\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 30,\n" +
            "    \"current_message_id\": 29,\n" +
            "    \"inserted_at\": 1742282527.297735,\n" +
            "    \"updated_at\": 1742285040.506261,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"5ef1ae33-4657-4d7e-8b15-777fbd23e767\",\n" +
            "    \"seq_id\": 1000146,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java运行时库版本不匹配问题\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 9,\n" +
            "    \"current_message_id\": 8,\n" +
            "    \"inserted_at\": 1742280913.853734,\n" +
            "    \"updated_at\": 1742281504.709913,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"2647b15f-1816-4c84-b158-39a90370755c\",\n" +
            "    \"seq_id\": 1000143,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java UnsatisfiedLinkError Troubleshooting Guide\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1742280895.992159,\n" +
            "    \"updated_at\": 1742280950.44543,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"6243365e-4e4c-4e4c-8bd4-671fe0843fe2\",\n" +
            "    \"seq_id\": 1000140,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java项目服务实现类定义位置\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1742195720.325415,\n" +
            "    \"updated_at\": 1742195741.308551,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"4b20c8b4-e8b1-4ead-9dac-97d06188641a\",\n" +
            "    \"seq_id\": 1000138,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"跨天考勤系统数据库设计方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1742171672.307735,\n" +
            "    \"updated_at\": 1742171855.800891,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"b903d972-3551-4979-b9f2-ab07ad9ece2c\",\n" +
            "    \"seq_id\": 1000136,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"我现在通过java获取到了所有的文件信息 他们包含的字段有 绝对\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1741746022.499708,\n" +
            "    \"updated_at\": 1741746082.870051,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"c94e9f9e-bb9e-4bb3-8d7f-adeef1bbddd5\",\n" +
            "    \"seq_id\": 1000134,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"public static void main(String[]\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1741745550.725088,\n" +
            "    \"updated_at\": 1741745611.35642,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"3397069c-9ecb-4e7a-ae2e-4dd85024ff38\",\n" +
            "    \"seq_id\": 1000132,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"public static void main(String[]\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1741745380.175476,\n" +
            "    \"updated_at\": 1741745440.861161,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"bf52db5d-680b-4c6a-81f3-13427396d8da\",\n" +
            "    \"seq_id\": 1000130,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java获取压缩包内部文件图标方法\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1741744661.838457,\n" +
            "    \"updated_at\": 1741744959.478707,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"1397406f-9c7d-453e-b3a1-bceb4762a8b7\",\n" +
            "    \"seq_id\": 1000128,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"我在做vue项目时我发现用户点击回退按钮回到上一个页面会有问题 \",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 5,\n" +
            "    \"current_message_id\": 3,\n" +
            "    \"inserted_at\": 1741577524.993655,\n" +
            "    \"updated_at\": 1741577602.496468,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"02351bc0-3139-4a54-b14a-17d50d110095\",\n" +
            "    \"seq_id\": 1000125,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"我在做vue项目时我发现用户点击回退按钮回到上一个页面会有问题 \",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1741577201.782412,\n" +
            "    \"updated_at\": 1741577262.153034,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"24f84d25-a9f6-4c41-81ae-c6f3cded19c3\",\n" +
            "    \"seq_id\": 1000123,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Vue Pinia文件列表滚动与选择优化\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1741576549.740423,\n" +
            "    \"updated_at\": 1741576952.656561,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"64fc3e59-c915-47c1-8f3b-1af06ea68e4c\",\n" +
            "    \"seq_id\": 1000120,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"支持编程宏的鼠标品牌推荐\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1741524781.987652,\n" +
            "    \"updated_at\": 1741524903.317883,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"23ee1967-51b8-4bf9-b86c-ccc03f63f2b2\",\n" +
            "    \"seq_id\": 1000118,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"Java实现审批功能技术方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1741176862.31443,\n" +
            "    \"updated_at\": 1741177072.619226,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"0ba9c1e5-5f72-4e36-ade0-7da147a91253\",\n" +
            "    \"seq_id\": 1000116,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"并行压缩实现原理解析\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 6,\n" +
            "    \"current_message_id\": 5,\n" +
            "    \"inserted_at\": 1741149417.030595,\n" +
            "    \"updated_at\": 1741150249.257531,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"6dab6e03-e385-467c-a0f9-b8437fc63671\",\n" +
            "    \"seq_id\": 1000113,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"多线程压缩文件下载优化方案\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1741146161.471018,\n" +
            "    \"updated_at\": 1741146385.030542,\n" +
            "    \"character\": null\n" +
            "  },\n" +
            "  {\n" +
            "    \"id\": \"6e4bbe82-a304-498b-af35-a75847a0c983\",\n" +
            "    \"seq_id\": 1000111,\n" +
            "    \"agent\": \"chat\",\n" +
            "    \"title\": \"阿帕奇压缩包多线程压缩原理\",\n" +
            "    \"title_type\": \"SYSTEM\",\n" +
            "    \"version\": 3,\n" +
            "    \"current_message_id\": 2,\n" +
            "    \"inserted_at\": 1741085907.870069,\n" +
            "    \"updated_at\": 1741086039.629489,\n" +
            "    \"character\": null\n" +
            "  }\n" +
            "]");
    public static void main(String[] args) throws Exception {
        // 数据
        List<JSONObject> list = jsonArr.toList(JSONObject.class);
        // 时间分组
        HashSet<String> set = new HashSet<>();

        for (JSONObject jsonObject : list) {
            // 创建时间
            Double insertedAt = jsonObject.getDouble("inserted_at");
            Instant instant = Instant.ofEpochSecond(insertedAt.longValue());

            // 将Instant对象转换为ZonedDateTime对象，这里使用系统默认时区
            LocalDate localDate = instant.atZone(ZoneId.systemDefault()).toLocalDate();

            String value = getValue(localDate);
            if (!set.contains(value)) {
                set.add(value);
                System.out.println();
                System.out.println("---" + value + "---");
                System.out.println();
            }
            System.out.println(jsonObject.getString("title"));
        }

    }

    private static String getValue(LocalDate createDate) {
        LocalDate today = LocalDate.now();
        LocalDate yesterday = today.minusDays(1);
        LocalDate sevenDaysAgo = today.minusDays(7);
        LocalDate thirtyDaysAgo = today.minusDays(30);
        if (createDate.isEqual(today)) {
            return "今天";
        } else if (createDate.isEqual(yesterday)) {
            return "昨天";
        } else if (createDate.isAfter(sevenDaysAgo)) {
            return "7天内";
        } else if (createDate.isAfter(thirtyDaysAgo)) {
            return "30天内";
        } else {
            return createDate.format(DateTimeFormatter.ofPattern("yyyy-MM"));
        }
    }

}
